package net.dgg.zz.production.inProcess.dao;


import net.dgg.zz.production.inProcess.entity.ProductNodeFlow;
import org.springframework.stereotype.Component;

import java.util.Map;

@Component
public interface ProductNodeFlowDao {
	
	
    int deleteByPrimaryKey(Long id);

    int insert(ProductNodeFlow record);

    int insertSelective(ProductNodeFlow record);

    ProductNodeFlow selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ProductNodeFlow record);

    int updateByPrimaryKey(ProductNodeFlow record);

    ProductNodeFlow queryFlowById(Map map);
    
    /**
     * 查询节点信息
     * @param map
     * @return
     */
    ProductNodeFlow queryFlow(Map map);

}